package cloudAlibaba.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @Author: Liuzihao
 * @Description:
 * @Date Created in 2024-03-01 21:25
 * @Modified By:
 */
public class CustomerBlockHandler {
    public static String blockHandler1(BlockException blockException){
        return "限流处理1";
    }
    public static String blockHandler2(BlockException blockException){
        return "降级处理2";
    }
}
